package com.jiaming.restaurant.api.trade.constants;

/**
 * @author dragon
 * @create 2021-03-01 22:27
 */
public enum  UserResutCodeEnum {
    FAIL_USER_NAME_NULL(3001,"用户名不能为空"),
    FAIL_USER_NAME_LENGTH(3002,"用户名长度必须在10到20个字符"),
    ;
    private Integer code;
    private String msg;

    UserResutCodeEnum(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
